package com.atguigu.gmall.common.feign.product.fallback;/*
 * @author: XueYouPeng
 * @time: 23.7.14 下午 7:47
 */

import com.atguigu.gmall.common.feign.product.BaseCategoryFeignClient;
import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.common.result.ResultCodeEnum;
import com.atguigu.gmall.product.vo.CategoryVo;

import java.util.List;


public class BaseCategoryFeignClientFallback implements BaseCategoryFeignClient {
    @Override
    public Result<List<CategoryVo>> findAllCategoryTree() {
        return Result.build(null, ResultCodeEnum.SUCCESS);
    }
}
